package com.jiyun.baobei.service.imp;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jiyun.baobei.mapper.LuyiinMapper;
import com.jiyun.baobei.service.LuyiinService;
import com.jiyun.pojo.luyin.Luyin;
import com.jiyun.pojo.result.ResultVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 文件名:LuyiinServiceImp
 * 创建者: 闫俊涛
 * 创建时间:2022/7/2 21:10
 * 描述:这是一个实例
 */
@Service
public class LuyiinServiceImp extends ServiceImpl<LuyiinMapper, Luyin> implements LuyiinService {

    @Autowired
    private  LuyiinMapper luyiinMapper;
    @Override
    public ResultVo addfile(Luyin luyin) {
         luyiinMapper.insert(luyin);
       return  new ResultVo(200,"成功",null);
    }
}
